package top.techqi.hamtools.db.convert

import com.raizlabs.android.dbflow.converter.TypeConverter
import top.techqi.hamtools.db.assist.RstR

@com.raizlabs.android.dbflow.annotation.TypeConverter
class RstRConverter : TypeConverter<Int, RstR>() {
    override fun getDBValue(model: RstR) = model.value
    override fun getModelValue(data: Int) = RstR.valueOf(data)
}
